Skip to main content

btnIcon

Type​

property

Summary​

The name of an SVG icon, which is displayed as an icon when the button is in its normal state.

Syntax​

set the btnIcon of widget to <IconName>
get the btnIcon of widget

Description​

Use the btnIcon property to specify the name of an SVG icon, which is displayed as an icon when the button is in its normal state.

The btnIcon property is ignored when btnIconPath property is set

Examples​

set the btnIcon of widget "Power button" to "star empty"

Compatibility and Support​

OS

mac

windows

linux

ios

android

web

Platforms

desktop

mobile